package com.example.demo.information.service;

import com.example.demo.information.entity.Historyphoto;
import com.example.demo.information.entity.Photo;
import com.example.demo.information.entity.Student;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface PhotoService {

    List<Photo> findByXsxxIdAndStatusOrderByLrsjDesc(Long xsxxId, Integer status);

    String savePhotoByStudent(Student student, String spId, String bkColor
            , String truePath, String resultSavePath, String internetPath, String xgr);

    Photo findByXsxxIdAndXxxxIdAndBjxxId(Long xsxxId, Long xxxxId, Long bjxxId);

    Photo findById(Long id);

    String saveHistoryPhoto(Historyphoto tempPhoto);

    void downLoadStuPhoto(List<Student> stuList, HttpServletResponse response);
}
